package edu.stthomas.seis752.dao;

import java.util.List;

import edu.stthomas.seis752.model.Collection;
import edu.stthomas.seis752.model.CollectionType;
import edu.stthomas.seis752.model.Member;
import edu.stthomas.seis752.model.User;

public interface UserDao {

	public void addUser(User user);
	public User getUser(Long id);
	public List<User> getUsers(int number);
	public List<Collection> getCollectionsForOwner(Long ownerId);
	public CollectionType getCollectionType(String code);
    public Collection addCollection(Collection coll);
    public void saveCollection(Collection coll);
    public void saveMember(Member m);
    public void remove(Object o);
    public Object getPersistedObject(Class c, Object id);
	public User findByUsername(String username);
}
